import request from "../request"
// 新增大类
export function getAssignAdd(data){
  return request({
    url: "/car/patrol/v/assign/add",
    method: "post",
    data:data,
  });
}
//巡检管理列表
export function getAssignQuery(data){
  return request({
    url: "/car/patrol/v/assign/query",
    method: "post",
    data,
  });
}
//修改大类
export function getAssignUpt(data){
  return request({
    url: "/car/patrol/v/assign/upt",
    method:'POST',
    data:data,
  });
}
//大类删除
export function getAssignDelete(data){
  return request({
    url: "/car/patrol/v/assign/delet",
    method:'POST',
    data:data,
  });
}
//新增小类
export function getSubAssignAdd(data){
  return request({
    url: "/car/patrol/v/assign/sub/add",
    method:'POST',
    data:data,
  });
}
//修改小类
export function getSubAssignUpt(data){
  return request({
    url: "/car/patrol/v/assign/sub/upt",
    method:'POST',
    data:data,
  });
}
//小类删除
export function getSubAssignDelete(data){
  return request({
    url: "/car/patrol/v/assign/sub/delet",
    method:'POST',
    data:data,
  });
}
